package org.fall.srb.core.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.fall.srb.core.pojo.dto.ExcelDictDTO;
import org.fall.srb.core.pojo.entity.Dict;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 数据字典 Mapper 接口
 * </p>
 *
 * @author sprogFall
 * @since 2021-06-23
 */
@Mapper
public interface DictMapper extends BaseMapper<Dict> {
    /**
     * 批量插入
     * @param list 插入的数据list
     */
    void batchSave(@Param("list") List<ExcelDictDTO> list);
}
